package com.atguigu.test.boot.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @description:  自定义配置类读取注解
 * @author zp
 * @date: 2023/2/7 19:36
 */

@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface MyConfigurationProperties {
    String pre(); // 配置绑定属性的前缀
}
